cmake_minimum_required(VERSION 3.0.0)

set(MODULE_NAME "Log")
set(${MODULE_NAME}_INCLUDE_DIRS "${CMAKE_CURRENT_SOURCE_DIR};${CMAKE_CURRENT_SOURCE_DIR}/include" CACHE INTERNAL "${MODULE_NAME} of the sources direcotry.")
set(${MODULE_NAME}_LIBRARIES "${MODULE_NAME}" CACHE INTERNAL "${MODULE_NAME} of the library.")


include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)

add_library(${MODULE_NAME}
    "src/Log.c"
)

# add_subdirectory(lib/Log)
# target_include_directories(${MODULE_NAME} PRIVATE
#     ${Log_INCLUDE_DIRS}
# )
# target_link_libraries(${MODULE_NAME}
#     ${Log_LIBRARIES}
# )
